/**
 * Copyright:Copyright(c)2014-2015
 * Company:厦门市易致达物联网科技有限公司
 * @version 1.0
 */
package shop.services.front.news.impl;

import shop.core.ServicesManager;
import shop.services.front.news.NewsService;
import shop.services.front.news.bean.News;
import shop.services.front.news.dao.NewsDao;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;


/**   
 * @类名称：NewsServiceImpl      
 * @创建人：wzl
 * @创建时间：2018-05-09 下午19:22:34        
 * @版本号：1.0
 * @描述：     
 */
@Service("newsServiceFront")
public class NewsServiceImpl extends ServicesManager<News, NewsDao> implements
NewsService {
    @Resource(name = "newsDaoFront")
    @Override
    public void setDao(NewsDao newsDao) {
    this.dao = newsDao;
    }

    @Override
    public List<News> selectAllSearchList(News news) {
        return dao.selectAllSearchList(news);
    }
}

